package com.itheima.io.outputstream.demo03;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class OutputStreamDemo01 {

    public static void main(String[] args) throws IOException {

        OutputStream outputStream = new FileOutputStream("itheima-io-outputstream\\a.txt");

        byte[] bytes = {97, 98, 99, 100, 101, 102, 103};

        outputStream.write(bytes, 3, 4);

        outputStream.close();

    }

}
